package com.cskaoyan.controller.marketmanage;

import com.cskaoyan.module.bean.BaseRespVo;
import com.cskaoyan.service.marketmanage.MarketManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("admin/region")
//http://182.92.235.201:8083/admin/region/list
public class MarketManager {
    @Autowired
    MarketManagerService marketManagerService;

    @GetMapping("list")
    public BaseRespVo AdminRegionList() {
        return marketManagerService.getAdminRegionList();
    }
}
